<?php
/**
 * @file
 * Defines localized resources for the 'en_US' locale.
 *
 * Usage:
 *  - A page that wants to use resources localized for the 'en_US' locale should
 *    include/require this page once and only once.
 *
 * Parameter(s):
 *  - None.
 *
 * Global variable(s) set:
 *  - None.
 *
 * Global variable(s) unset:
 *  - None.
 *
 * Exception(s):
 *  - None.
 *
 * This file includes/requires:
 *  - None.
 */

// constant(s) =================================================================
// application -----------------------------------------------------------------
//! The application's name.
define("APP_NAME", "GreenInDeed");
//! The application's description.
define(
  "APP_DESCRIPTION",
  APP_NAME . ' allows people from all over the world to share the'
   . ' \'Green Deeds\' that they did, so that other people can see how they too'
   . ' can help to save Mother Earth. What \'Green Deed\' did you do today?'
);


// generic message(s) ----------------------------------------------------------
//! Message to display while waiting.
define("MSG_WAIT", "Please Wait...");
//! Message to display while loading.
define("MSG_LOAD", "Loading... " . MSG_WAIT);
//! Message to display for invalid requests.
define("MSG_REQUEST_INVALID", "Failed to process the request.");


// header ----------------------------------------------------------------------
// link text
//! Link text for home page.
define("LBL_HEADER_HOME"       , "Home");
//! Link text for invite friends page.
define("LBL_HEADER_INVITE"     , "Invite Friends");
//! Link text for authorize application page.
define("LBL_HEADER_AUTHORIZE"  , "Authorize " . APP_NAME);
//! Link text for acknowledgment page.
define("LBL_HEADER_ACKNOWLEDGE", "Acknowledgment");
//! Link text for help needed page.
define("LBL_HEADER_HELP"       , "Help Needed");
// tooltip
//! Tooltip for home page.
define(
  "LBL_HEADER_TIP_HOME",
  APP_NAME . " home page."
);
//! Tooltip for invite friends page.
define(
  "LBL_HEADER_TIP_INVITE",
  "Invite your friends to share their 'Green Deeds'."
);
//! Tooltip for authorize application page.
define(
  "LBL_HEADER_TIP_AUTHORIZE",
  "Allow " . APP_NAME . " to access your profile information."
);
//! Tooltip for acknowledgment page.
define(
  "LBL_HEADER_TIP_ACKNOWLEDGE",
  APP_NAME . " is only possible with the help of these great people."
);
//! Tooltip for help needed page.
define(
  "LBL_HEADER_TIP_HELP",
  "Contribute to the evolution, development and maintenance of " . APP_NAME
  . "."
);


// home page -------------------------------------------------------------------
// section title
//! Add deed section title.
define("LBL_SECTION_ADD"   , "Add Green Deed");
//! Filter section title.
define("LBL_SECTION_FILTER", "See Who's Green Deeds");
//! View deed section title.
define("LBL_SECTION_VIEW"  , "Green Deeds");


// filter ----------------------------------------------------------------------
//! Filter label for just you.
define("LBL_FILTER_YOURSELF", "Yours");
//! Filter label for your friends.
define("LBL_FILTER_FRIENDS" , "Your Friends'");
//! Filter label for the world.
define("LBL_FILTER_WORLD"   , "The World's");
// button
//! Label for refresh button.
define("LBL_FILTER_REFRESH", "Refresh");
// rows per page
//! Prefix for rows per page label.
define("LBL_ROWSPP_PREFIX", "Show ");
//! Suffix for rows per page label
define("LBL_ROWSPP_SUFFIX", " Green Deeds");


// view ------------------------------------------------------------------------
//! Text to display when no deed is found.
define("LBL_NO_DEED", "No 'Green Deed' found :(");
//! Name to show for private profiles.
define("LBL_NAME_PRIVATE", "Somebody");
//! Name to show for current user.
define("LBL_NAME_YOU", "You");


// delete ----------------------------------------------------------------------
//! Tooltip for 'delete' button.
define("LBL_DEED_DELETE", "Delete");
//! Title for confirm deletion dialog box.
define("LBL_DEL_CONFIRM_TITLE", "Confirm Deletion");
//! Text for confirm deletion dialog box.
define("LBL_DEL_CONFIRM_TEXT", "Are you sure you want to delete this deed?");
//! Message to show while deleting deed.
define("LBL_DEED_DELETING", "Deleting deed..." . MSG_WAIT);
//! Message to show after deleting deed.
define("LBL_DEED_DELETED", "Deed deleted.");


// add -------------------------------------------------------------------------
//! Label and tooltip for 'add' button.
define("LBL_DEED_ADD", "Add");
//! Label for examples.
define("LBL_DEED_EXAMPLE", "Example: ");
//! Label for publishing checkbox.
define("LBL_DEED_PUBLISH", "Publish to Wall");
//! Message to show while adding deed.
define("LBL_DEED_ADDING", "Adding deed... " . MSG_WAIT);
//! Message to show after adding deed.
define("LBL_DEED_ADDED", "Deed added successfully.");

// logic
//! Message to show if at least one mandatory input is not filled.
define("LBL_DEED_TEXT_ERR_EMPTY", "Please fill in all the fields.");
//! Message to show if text entered by user is too long.
define(
  "LBL_DEED_TEXT_ERR_LONG",
  "The total length of the statement is too long.\
   Please reduce it by %n characters."
);
//! Placeholder for message to show if text entered by user is too long.
define("SEARCH_DEED_TEXT_ERR_LONG", "%n");

// publishing
//! Message prompt for publishing.
define("PUBLISH_MESSAGE_PROMPT", "What 'Green Deed' did you do today?");
//! Action links for publishing.
define(
  "PUBLISH_ACTION_LINKS",
  "[{ 'text': 'Do a \'Green Deed\' today!',
      'href': '" . FB_APP_URL_CANVAS . "'
   }]"
);


// invite ----------------------------------------------------------------------
//! The applications's invitation title text.
define(
  "FB_APP_INVITE_TITLE",
  'Do a \'Green Deed\'! Raise awareness through ' . APP_NAME . '.'
);
//! The applications's invitation button label.
define("FB_APP_INVITE_BUTTON", 'Tell people of a \'Green Deed\' today!');
?>
